package com.example.demo.Service;


import com.example.demo.utils.model.CommonResult;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;

/**
 * @author xueyj
 * @date 9:51 2020/12/18
 */
public interface WxPayService {
    CommonResult unfiedOrder(String openId, Integer produceCode) throws IOException, NoSuchAlgorithmException, InvalidKeyException, SignatureException;

    CommonResult notifyWeiXinPayV3(HttpServletRequest request) throws IOException, GeneralSecurityException;
}
